/**
 * @Description : 测试模块
 **/
const { output } = require('../common/index');

const test = async (req, res) => {
    try {
        var data = { account: 'myname' };
        output(res, { code: 1, msg: '成功', data: data });
    } catch (error) {
        output(res, { code: 2, msg: '操作错误' + JSON.stringify(error) });
    }
};

module.exports = { test };
